<template>
  <div>
    <van-tabbar v-model="$store.state.defaultActive">
      <van-tabbar-item replace to="home" icon="home-o">主页</van-tabbar-item>
      <van-tabbar-item replace to="order" icon="balance-list-o">订单</van-tabbar-item>
      <van-tabbar-item replace to="about" icon="contact">我的</van-tabbar-item>
    </van-tabbar>
    <router-view style="padding-bottom: 50px"/>
  </div>
</template>

<script>
export default {
  name: 'Layout',
  data () {
    return {
      
    }
  },
  created() {

  }
}
</script>

<style scoped>

</style>
